package com.xtedu.examproject.entity;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDate;

public class ExaminationPaper implements Serializable {
    private int id;
    private int examId;
    private int questionId;
    private Date createDate;

    public ExaminationPaper(int id, int examId, int questionId, Date createDate) {
        this.id = id;
        this.examId = examId;
        this.questionId = questionId;
        this.createDate = createDate;
    }

    public ExaminationPaper() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getExamId() {
        return examId;
    }

    public void setExamId(int examId) {
        this.examId = examId;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "ExaminationPaper [id=" + id + ", examId=" + examId + ", questionId=" + questionId + ", createDate=" + createDate + "]";
    }
}
